package com.jr.service.impl;

import java.util.Random;

/**
 * @program:(invoice)
 * @author:Mr.Jin
 * @Date:(2023/2/25)
 */
public class UplinkService {
    public static String getUplink(){
        String str="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
        Random random=new Random();
        StringBuffer sb=new StringBuffer();
        for(int i=0;i<11;i++){
            int number=random.nextInt(62);
            sb.append(str.charAt(number));
        }
        return sb.toString();
    }
}
